import { defineStore } from 'pinia'
import { ref } from 'vue'

export const usePerformanceStore = defineStore(
  'performanceAppraisal',
  () => {
    const performanceInfo = ref({})
    const setPerformanceInfo = (newVal) => {
      performanceInfo.value = newVal
    }
    return {
      performanceInfo,
      setPerformanceInfo,
    }
  },
  {
    persist: true,
  },
)
